package com.gjy.pd.factorysimple;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2022-12-15 09:23:36
 */
public class ProductC implements SimpleProduct {

    private final String name;

    public ProductC(String name) {
        this.name = name;
    }

    @Override
    public String info() {
        return this.getClass().getName() + "\t" + name;
    }
}
